<template>
  <div>
    <van-nav-bar title="优选订单" left-arrow @click-left="onClickLeft" />
    <van-tabs v-model:active="active">
      <van-tab title="全部">内容 1</van-tab>
      <van-tab title="代付款">内容 2</van-tab>
      <van-tab title="待审核">内容 3</van-tab>
      <van-tab title="代发货">内容 4</van-tab>
      <van-tab title="待自取">内容 4</van-tab>
      <van-tab title="已完成">内容 4</van-tab>
    </van-tabs>

  </div>
</template>

<script setup lang="ts">
import {ref} from "vue"
  import {
    useRouter
  } from 'vue-router';
  const router = useRouter()

  const onClickLeft = () => {
    router.back()
  }
  const active = ref(0);
</script>

<style lang="scss" scoped>

</style>
